package com.jxl.charactersheet.factories
{
	import com.jxl.charactersheet.collections.InventoryCollection;
	import com.jxl.dnd.Character;
	import com.jxl.dnd.abilities.AbilityScores;
	import com.jxl.dnd.combat.ArmorClass;
	import com.jxl.dnd.combat.AttackBonus;
	import com.jxl.dnd.combat.HitPoints;
	
	public class CharacterFactory
	{
		public static function getDefaultCharacter():Character
		{
			var character:Character = new Character();
			character.abilityScores = new AbilityScores(12, 11, 9, 15, 14, 10);
			character.armorClass	= new ArmorClass();
			character.hitPoints		= new HitPoints(4, 4, 4, 0);
			character.attackBonus	= new AttackBonus();
			character.equipment		= new InventoryCollection(InventoryFactory.getRandomWearableItems(11));
			return character;
		}
	}
}